/**
 * 
 */
package trungsi.gea.photos.dao;

import java.io.Serializable;
import java.util.List;

import trungsi.gea.photos.domain.Entity;

/**
 * @author trungsi
 *
 */
public interface GenericsDao<K extends Serializable, V extends Entity> {

	void save(V entity);
	
	V findById(K key);
	
	void delete(V entity);
	
	List<V> findAll();
}
